#include "Controls/Panels/Panel.h"
namespace cxgui
{

Panel::Panel()
	: ContainerControl(), 
	_orientation(Orientation::Vertical)	
{
	SetBackColor(ColorA(1.f,1.f,1.f,1.f));
}

Panel::~Panel()
{
}

cxgui::Orientation Panel::GetOrientation() const
{
	return _orientation;
}

void Panel::SetOrientation( const Orientation& orientation )
{
	if(orientation != _orientation) {
		_orientation = orientation;
		OnOrientationChanged();
	}
}

void Panel::OnOrientationChanged()
{
}

}